[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
it in a better way. Finally instead of \blackrule[color=black, height=0.10ex, width=13.50cm] you can use just \hairline, and the thickness and color of such a \hairline can be adjusted by \setupthinrules[rulethickness=4pt,color=darkgreen] (for instance), which should be put before

[NTG-context] Vertically aligned alternating fillers

2023-11-16 Thread Marco Patzer
{1}{\n}} \starttext %% dots are vertically aligned \dorecurse{6}{%% Foo \PavelFiller Bar\par} \hairline %% dots are not aligned \dorecurse{6}{%% \oneword\PavelFiller\oneword\par} \stoptext Marco LMTX 2023.09.04 19:15

[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
bruary 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe

Re: [NTG-context] Why are my captions overlapping next text in combinations?

2022-11-26 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 25.11.2022 um 23:25: I have some combinations used throughout my document like this: \starttext \startcombination[4*2]             {%  \framed[width=.25\textwidth, height=.25\textwidth]{}%  }{%                 \strut word \\ \thinrule\hairline\hairline

[NTG-context] Why are my captions overlapping next text in combinations?

2022-11-25 Thread Joel via ntg-context
I have some combinations used throughout my document like this: \starttext   \startcombination[4*2]            {%                 \framed[width=.25\textwidth, height=.25\textwidth]{}%             }{%                 \strut word \\ \thinrule\hairline\hairline

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are r

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent

Re: [NTG-context] What is the proper way to define many different list types in a document?

2022-01-24 Thread Aditya Mahajan via ntg-context
... \startprompt \item \stopprompt > %written answer (produces some lines after the question for writing an answer) > > \define[1]\writingbox{% >     \dorecurse{#1}{% >         \hairline% >     } > } There is also: https://wiki.contextgarden.net/Command/fillinrules Aditya

[NTG-context] What is the proper way to define many different list types in a document?

2022-01-24 Thread Joel via ntg-context
]\writingbox{%     \dorecurse{#1}{%         \hairline%     } } \startitemize[n] \item Which planet is closest to Earth? \writingbox{4} \item What is the moon made of? \writingbox{4} \stopitemize %materials list \startcolumns[n=3]\startitemize \item crayons \item scissors \item glue \stopitemize

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts to nesting, while italic does not: Are there other places where this makes a difference

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts to nesting, while italic does not: Are there other places where this makes a difference? \setupbodyfontenvironment         [default]     [em=italicface] %same

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
the hairline the example below, but see that italicface adapts to nesting, while italic does not: Are there other places where this makes a difference? \setupbodyfontenvironment         [default]     [em=italicface] %same with italic for this example \definehighlight

[NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Sorry, I didn't send the correct example… \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline}\dontleavehmode\hairline \startformula \margintext{Me

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Hi Uschi, You may add \dontleavehmode at the right place as in the following: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
Dear Pablo! I have done some changes. How can I get both hairlines in the same height: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

[NTG-context] thinrules width

2020-12-14 Thread Rik Kabel
Hello list, and developers in particular, I note that thinrules (and its setup, setupthinrules, and relatives thinrule and hairline) does not have a width setting, and always sets a rule (or rules) the full width of the text area (less any text set on the same line. No problem, but I do see

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Floris van Manen
' is active open source > level 2, order 3, name './j2.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded fonts > defining > font with asked name 'jost-100-hairline' is not found using lo

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
-100-hairline] \definefont [JThin] [jost-200-thin] \definefont [JLigh] [jost-300-light] \definefont [JBook] [jost-400-book] \definefont [JMedi] [jost-500-medium] \definefont [JSemi] [jost-600-semi] \definefont [JBold] [jost

[NTG-context] Disappearing font feature

2019-12-21 Thread Rik Kabel
, header=0pt, footer=0pt] \setuppagenumbering [location=] \definefontfeature [default] [default] [ss01=yes] \definefont [JHair] [jost-100-hairline] \definefont [JThin] [jost-200

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-17 Thread Otared Kavian
},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext test-scriptfonts-mkiv.pdf Description

Re: [NTG-context] option=tex in setuptyping causes the background to be drawn twice

2019-04-28 Thread Wolfgang Schuster
Wolfgang will cook up a patch ... The best solution is to remove the values from all three keys because for now each of them is applies twice (even the style). \setuptyping   [before=\hairline,     after=\hairline,     style=\tt\em] \starttext \starttyping[option=tex] \donothing \stoptyping

Re: [NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 01.12.18 um 12:43: Hello, I would like to replace the dashed lines with a solid line much like with the \hairline command Thank you. Fabrice \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \input knuth \dorecurse{5}{\filler[dots

[NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Fabrice Couvreur
Hello, I would like to replace the dashed lines with a solid line much like with the \hairline command Thank you. Fabrice \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \input knuth \dorecurse{5}{\filler[dots]} \input knuth \dorecurse{5}{\hairline} \stoptext

Re: [NTG-context] hairline & rules

2018-06-16 Thread Marco Patzer
On Fri, 15 Jun 2018 00:20:23 -0700 "jdh" wrote: > I want to use a colored hairline, but can't get it working and can't > find anything to explain any options or parameters. > > I've tried > > \setuptextrules[rulecolor=red,color=red] > \hairline >

[NTG-context] hairline & rules

2018-06-16 Thread jdh
I want to use a colored hairline, but can't get it working and can't find anything to explain any options or parameters. I've tried \setuptextrules[rulecolor=red,color=red] \hairline or \hairline[color=red] Doesn't work this is a test \thinrule[color

[NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
:\TalkSpeakerName]{} {\bi Speaker~:\/} \TalkSpeakerName \speakers{\TalkSpeakerName}.\crlf {\bi Title :} \TalkTitle \crlf {\bi Time:} \TalkTime \crlf {\bi Room :} \TalkRoom\crlf \hairline\par} \starttext \getparameters[Talk]% [SpeakerName

Re: [NTG-context] synctex, TeXShop and \input files

2017-09-28 Thread Hans Hagen
file, even it were part of an \input file. For instance after typesetting the file: %%% begin synctex-example.tex \setupsynctex[state=start,method=max] \starttext \input knuth.tex \hairline \input ward.tex \stoptext %%% end synctex-example.tex I could click on the sentence « The separation of any

[NTG-context] synctex, TeXShop and \input files

2017-09-28 Thread Otared Kavian
. For instance after typesetting the file: %%% begin synctex-example.tex \setupsynctex[state=start,method=max] \starttext \input knuth.tex \hairline \input ward.tex \stoptext %%% end synctex-example.tex I could click on the sentence « The separation of any of these » in the PDF file and the file

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-23 Thread Henri Menke
gt; \doifinstringelse{\mymacro}{123}{equal content}{not equal content} > > \doifincsnameelse{\mymacro}{123}{equal content}{not equal content} > > > \hairline > > mymacro[123] > > \doifelse{\mymacro[123]}{123}{equal content}{not equal content} > > \doifsamestringelse{

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Jaroslav Hajtmar
} \doifincsnameelse{\mymacro}{123}{equal content}{not equal content} \hairline mymacro[123] \doifelse{\mymacro[123]}{123}{equal content}{not equal content} \doifsamestringelse{\mymacro[123]}{123}{equal content}{not equal content} \doifinstringelse{\mymacro[123]}{123}{equal content}{not equal

[NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Jaroslav Hajtmar
ot;mymacro", {         macro = function ()       context.dosingleempty()       context["domymacro"]()         end    }) \stopluacode \def\myothermacro{123} \hairline \mymacro[123] \mymac

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Hans Hagen
if you directly feed back into tex anyway \def\myothermacro{123} \hairline \mymacro[123] \mymacro \myothermacro \hairline \doifelse{\mymacro}{\mymacro[123]}{equal content}{not equal content} \doifsamestringelse{\mymacro}{\mymacro[123]}{equal content}{not equal content} \doifins

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Jaroslav Hajtmar
context["domymacro"]() > end >}) > \stopluacode > > \def\myothermacro{123} > > \hairline > > \mymacro[123] > > \mymacro > > \my

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Henri
>         macro = function () >       context.dosingleempty() >       context["domymacro"]() >         end >        }) > \stopluacode >   > \def\myothermacro{123} >   > \hairline >   &

[NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Jaroslav Hajtmar
uot;mymacro", { macro = function () context.dosingleempty() context["domymacro"]() end }) \stopluacode \def\myothermacro{123} \hairline \mymacro[123] \mymacro \myothermacro \hairline

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Hans Hagen
-1}}\Bigr)^2 \stopformula \startformula \sqrt{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2} \stopformula \stopbuffer \getbuffer[math] \hairline \setupmathradical[sqrt][alternative=default] \getbuffer[math] \stoptext interesting side effect of Ustack (i'll look at it) Hans

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Otared Kavian
{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2} \stopformula \stopbuffer \getbuffer[math] \hairline \setupmathradical[sqrt][alternative=default] \getbuffer[math] \stoptext %%% end of test file > On 7 Jun 2017, at 16:50, Mikael P. Sundqvist <mic...@gmail.com> wrote: >>

Re: [NTG-context] \xmlload not understood

2017-05-15 Thread Hans Hagen
{#1}\par \stopxmlsetups \startbuffer[test] \stopbuffer \startbuffer[dataset] this is subnode-1 this is subnode-2 this is subnode-3 \stopbuffer \starttext \xmlprocessbuffer{root}{test}{} \hairline \stoptext

[NTG-context] \xmlload not understood

2017-05-12 Thread dr. Hans van der Meer
\starttext \xmlprocessbuffer{root}{test}{} \hairline \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] Bug in placeformula with framed text

2016-07-05 Thread Otared Kavian
} = O(1) \NR[eq:O-ev-1] \NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1) \NR[eq:O-ev-2] \NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} = o(u_{n}v_{n}) \NR[+] \stopLgather \stopformula \blank \hairline \blank \startformula \startalign[n=2,align=left

[NTG-context] Bug in placeformula with framed text

2016-07-04 Thread Otared Kavian
-1] \NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1) \NR[eq:O-ev-2] \NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} = o(u_{n}v_{n}) \NR[+] \stopLgather \stopformula \stopproclaim \blank \hairline \blank \setupformulas[location=right] \startproclaim

Re: [NTG-context] Orphans and widows for specific paragraph groups

2016-06-17 Thread Aditya Mahajan
uccess with the MWE I posted earlier. Try as a might, I cannot seem to keep the paragraph head "{\ss\tfc English (Grade 12)}" and the hairline together. I can, however, keep the hairline and the following lorem text together, but I need all three elements to float as a group: the paragraph

Re: [NTG-context] Orphans and widows for specific paragraph groups

2016-06-17 Thread Wolfgang Schuster
cannot seem to keep the paragraph head "{\ss\tfc English (Grade 12)}" and the hairline together. I can, however, keep the hairline and the following lorem text together, but I need all three elements to float as a group: the paragraph header, hairline, and paragraph body. Would

Re: [NTG-context] Orphans and widows for specific paragraph groups

2016-06-17 Thread Pavneet Arora
de 12)}" and the hairline together. I can, however, keep the hairline and the following lorem text together, but I need all three elements to float as a group: the paragraph header, hairline, and paragraph body. Would anyone have any suggestions on how to accomplish this? Many thanks.

[NTG-context] Orphans and widows for specific paragraph groups

2016-06-09 Thread Pavneet Arora
stripped away most of the details as well as the application fonts, but the issue that I am facing is related to keeping the course header (done as a paragraph environment), \hairline, and the teacher's comment for that course together as a unit. At a minimum, I would like the three elements

Re: [NTG-context] natural tables and columndistance/spaceinbetween

2015-11-30 Thread Wolfgang Schuster
=.25em] but these do not work. One might think about trying \bTR [bottomframe=on,framecolor=white,rulethickness=.25em] ... \eTR but this presents several problems: 1) When using background=color, the background color gives a hairline overflow beyond the rule, at least using the pdf viewers that I have

[NTG-context] natural tables and columndistance/spaceinbetween

2015-11-25 Thread Alan BRASLAU
might think about trying \bTR [bottomframe=on,framecolor=white,rulethickness=.25em] ... \eTR but this presents several problems: 1) When using background=color, the background color gives a hairline overflow beyond the rule, at least using the pdf viewers that I have on my computer. 2

Re: [NTG-context] Bibliography - biblio error with the latest beta

2015-07-12 Thread Alan BRASLAU
[Angell] \cite[Me] \cite[101]! \hairline \placelistofpublications[criterium=all] \stoptext -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR 3680 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr

Re: [NTG-context] Bibliography - biblio error with the latest beta

2015-07-11 Thread Lukáš Procházka
] \starttext Hello \cite[Angell] \cite[Me] \cite[101]! \hairline \placelistofpublications[criterium=all] \stoptext crashes with: D:\Lukas\Docs\Ull-Gra\Testcontext.exe Bib64.mkiv --nonstopmode mtx-context | run 1: luatex --fmt=c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context

Re: [NTG-context] Bibliography (bug compiling components-001.tex?) (now with sample files)

2015-07-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
%% \starttext Hello \cite[Angell] \cite[Me] \cite[101]! \hairline \placelistofpublications[criterium=all] \hairline %\placepublications[criterium=all] % (2) \stoptext Some more questions: 1) Is \placepublications deprecated? I'm getting Undefined control sequence when I uncomment

[NTG-context] Hidden section - weird counting?

2015-07-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following example with hidden section: \definehead[HidSec][section] \setuphead[HidSec][placehead=hidden] \starttext \placecontent \hairline \HidSec{A} \subsection{B} \subsection{C} \stoptext It gives: 1.1 B 1 --- 1.2 B 1.2 C Whilst I'd

[NTG-context] How to limit level of sections in TOC?

2015-06-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm not able to limit level of sections in TOC so to not show \subsubsection: %\setuplist[content][level=subsection] % Doesn't work %\setuplist[content][section,subsection] % Doesn't work \starttext \placecontent[level=subsection] % Doesn't work \hairline \placecontent[level

Re: [NTG-context] How to limit level of sections in TOC?

2015-06-20 Thread Wolfgang Schuster
\starttext \placecontent[level=subsection] % Doesn't work \hairline \placecontent[level=3] % Doesn't work \hairline \section{Sec} \subsection{SSec} \subsubsection{SSSec} \stoptext I studied wiki (http://wiki.contextgarden.net/Command/setuplist) and also contextref.pdf (pg. 218

Re: [NTG-context] How to limit level of sections in TOC?

2015-06-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\subsubsection: %\setuplist[content][level=subsection] % Doesn't work %\setuplist[content][section,subsection] % Doesn't work \starttext \placecontent[level=subsection] % Doesn't work \hairline \placecontent[level=3] % Doesn't work \hairline \section{Sec} \subsection{SSec

Re: [NTG-context] A macro which gives a random name

2015-04-19 Thread Otared Kavian
()}} \SetListOfFunctionNames[a,b,c,d] \dorecurse{10}{ Give an example of a function $\NewFunctionName : {\Bbb R} \longrightarrow {\Bbb R}$ which has a derivative only at the origin, and such that $\FunctionName(0) = 1$. \par \hairline\par } \stoptext end choose-random-names.tex

Re: [NTG-context] A macro which gives a random name

2015-04-19 Thread Hans Hagen
\hairline\par } \stoptext end choose-random-names.tex by Hans On 18 Apr 2015, at 22:36, Hans Hagen pra...@wxs.nl wrote: On 4/18/2015 10:24 PM, Otared Kavian wrote: Hi again Wolfgang, Thanks to your hint, I could solve the problem… In case someone else would encounter a similar problem

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Wolfgang Schuster
, and such that $\RandomFunctionName(0) = 1$.\par \hairline\par} \stoptext begin random-names.tex You can access the size of your Name table with #Name but have to replace # with \letterhash when you use it in a TeX command because # is already taken for the TeX arguments. \starttext \startluacode

[NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
])}} \dorecurse{10}{\RandomName{FunctionNumber}{1}{5}% Give an example of a function $\RandomFunctionName : {\Bbb R} \longrightarrow {\Bbb R}$ which has a derivative only at the origin, and such that $\RandomFunctionName(0) = 1$.\par \hairline\par} \stoptext begin random-names.tex

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
$\RandomFunctionName : {\Bbb R} \longrightarrow {\Bbb R}$ which has a derivative only at the origin, and such that $\RandomFunctionName(0) = 1$.\par \hairline\par} \stoptext begin random-names.tex You can access the size of your Name table with #Name but have to replace # with \letterhash

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Hans Hagen
, and such that ${\ChosenFunction}'(0) = 1$.\par \hairline\par} \stoptext end choose-element.tex \starttext \startluacode local FunctionNames = { G , W } local FunctionName = FunctionNames[1] function document.SetFunctionNames(list) FunctionNames

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
$.\par \hairline\par} \stoptext end choose-element.tex On 18 Apr 2015, at 19:23, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.04.2015 um 18:55 schrieb Otared Kavian ota...@gmail.com: Hi everyone, In the example below I define a macro which chooses at random a name from

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par \verbatim{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure][suffix={. ábra},numberstopper={.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][suffix={. ábra

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par \verbatim{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
initial prd_book.tex === \startproduct prd_book \project project_cataoia \starttext \start \startstandardmakeup[doublesided=no] \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Chess}% \blank[line] \leftaligned{and the Art of}% \blank[line

Re: [NTG-context] issue with t-scancsv.lua

2014-12-10 Thread Pablo Rodriguez
\bf } % begin column hook \def\ech{\egroup,\ } % end column hook \def\blinehook{Here is new \numline. line of CSV file:\crlf } % begin line hook \def\elinehook{\hairline\par} % end line hook \def\bfilehook{Here is all CSV file:\blank[2*big] } % begin CSV file hook \def\efilehook{\par Here

Re: [NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Jaroslav Hajtmar
} % begin line hook \def\elinehook{\hairline\par} % end line hook \def\bfilehook{Here is all CSV file:\blank[2*big] } % begin CSV file hook \def\efilehook{\par Here is end of file processing\par} % end CSV file hook \doloopif{1}{==}{1}{\tablelineaction} \stoptext Dne 8.12.2014 17:21

[NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
Empty page (first left) Right page with text (not yet in the lower left corner Left page with statement Right page with page number on top This is what I have in my prd_book.tex. What is a cleaner way to do this and also one that works? ;-): \starttext \start \startstandardmakeup \ss \hairline

Re: [NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
with statement Right page with page number on top This is what I have in my prd_book.tex. What is a cleaner way to do this and also one that works? ;-): \starttext \start \startstandardmakeup \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line

[NTG-context] Moving hairline in itemize environment

2014-11-21 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there possibility move hairline in itemize environment to the leftto start from the beginning of the line independently indentation environment? Thanx Jaroslav Hajtmar Here is minimal example: \starttext \startitemize[n] \item \input ward \hairline %this line move

Re: [NTG-context] setuphead style 'underline'?

2014-08-17 Thread Matthias Weber
=no, before={\hairline}, after={\hairline\blank[.4cm]} Matthias On Aug 17, 2014, at 2:40 PM, Gerben Wierda gerben.wie...@rna.nl wrote: Is there a way to get underlined headers with \setuphead

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by: \setupheader[state=stop] \setupfooter[text][before=\hairline,style=small,location=left,strut=yes] \setupfootertexts[some text][pagenumber] I want the first page without

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
Am 20.07.2014 um 12:03 schrieb Meer, H. van der h.vanderm...@uva.nl: My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by: \setupheader[state=stop] \setupfooter[text][before=\hairline,style=small,location=left,strut=yes

[NTG-context] Difficulties with \startformula

2014-01-13 Thread Elspeth McGullicuddy
]{% Hello } \framed[width=5cm,align=yes]{% Hello \startformula x+y \stopformula } \framed[width=5cm,align=yes]{% %Hello \startformula x+y \stopformula } \framed[width=5cm,align=yes]{% \vskip-1.3\baselineskip \startformula x+y \stopformula } \framed[width=5cm,align=yes]{% \hairline \startformula x

[NTG-context] Setting `before` option of chapter breaks header text

2013-09-03 Thread Michael Scholtz
? (If not, is there any other way to set `before` without breaking the headers?) Here an example: \setuphead[chapter][ before=\hairline\blank, % headers work, if this line is removed after=\nowhitespace\hairline, ] \setuppagenumbering[location=] % clear page numbers

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
={\bf\sc}, before=\hairline\blank, after=\nowhitespace\hairline] \setuphead [section] [color=grisoscuro,numberstyle=bold, textstyle={\sc\bf}] \setuphead [subsection] [color=grisoscuro,textstyle=\sc] %\define[2]\dos{% % \bTABLE % \setupTABLE[align=middle] % \setupTABLE[r][1][style

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext Is there a reason why you use \crlf to end the lines? When you would end the paragraph after each line the additional line wouldn't appear. inline

[NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
[euler] Font switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
[lucidaot] \starttext First line.\crlf \start \switchtobodyfont[euler] Font switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext fontswitch.pdf Description: fontswitch.pdf

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Wolfgang Schuster
to early away. Here the attached output. \setuppapersize[A6][A6] \setupbodyfont[lucidaot] \starttext First line.\crlf \start \switchtobodyfont[euler] Font switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext

[NTG-context] A thinner hrule for headers

2013-03-24 Thread Thomas Kreuzer
Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually spans two lines. How can I

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
Hi, Maybe you need something like \hairline: \setupthinrules[height=.1pt,depth=.1pt] \setupheader[after=\hairline] You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] Best regards: OK On 24 mars 2013, at 13:32, Thomas Kreuzer thomas.kreu

[NTG-context] Epigraphs (was About Chapter head definition and FunnyFrame)

2013-03-03 Thread Wolfgang Schuster
want, a simple way is to use the framedtext environment which can be positioned on the right margin, complexes solutions are possible but they require more code. \defineframedtext[epigraph][location=right,frame=off,offset=.25ex] \starttext \title{Ward} \startepigraph \input ward \hairline

[NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Devendra Ghate
If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system tex error on line 2 in file a.tex: Undefined control sequence ... 1

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: If \thinrule is used in \margintext, context gives error. \hairline works fine. You can add an \unexpanded in pack-mrl.mkiv and remake the format: \unexpanded\def\thinrule

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: **MWE** \starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext btw, after fixing it this becomes a MNWE as a \margintext without anything following it will never show up

Re: [NTG-context] vertical alignment problem in column items

2012-11-16 Thread Otared Kavian
in mkii and mkiv \item sub-one \item sub-two \item sub-three \item sub-four \stopitemize \hairline \startitemize[n=4] % --- gives correct output in mkii, but not in mkiv \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$ \item $ \reals

[NTG-context] Misplaced figure

2012-10-09 Thread Rogers, Michael K
)--(1,0)--(1, 0.7)) scaled u withpen pencircle; dotlabel.bot(textext($P$),(0,0)*u); dotlabel.bot(textext($R$),(1,0)*u); dotlabel.rt(textext($Q$),(1,0.7)*u); \stopuseMPgraphic % MISPLACED \placefigure[right,none]{}{\useMPgraphic{ProofPQR}} {\it Proof:\/} \input knuth \hairline % WORKS \placefigure

Re: [NTG-context] Misplaced figure

2012-10-09 Thread Wolfgang Schuster
]{}{\useMPgraphic{ProofPQR}} {\it Proof:\/} \input knuth \hairline % WORKS \placefigure[right,none]{}{\useMPgraphic{ProofPQR}} %{\it Proof:\/} \input knuth \hairline % WORKS \placefigure[right,none]{}{\useMPgraphic{ProofPQR}} \strut{\it Proof:\/} \input knuth \stoptext That’s

[NTG-context] Indenting problems

2012-06-08 Thread Bill Meahan
]{#1}% \midaligned{#2}} \setuphead [chapter] [command=\ChapterCommand, after=\hairline\blank, header=empty, textstyle=\cgd, numberstyle=\sca] \definefontfeature[smallcaps][smallcaps][onum=yes] \definetypeface[mainface][rm][serif] [pagella] [default] \definetypeface[mainface

Re: [NTG-context] extracting word count from a *.words file

2012-04-20 Thread Philipp Gesang
) %% access the requested field \stopluacode \space words.% } \starttext \setupspellchecking[state=start,method=2] \ctxlua{languages.words.threshold=3} \input knuth \hairline \wordcount %% call to the macro \stoptext

[NTG-context] howto execute loaded xml?

2012-03-21 Thread Meer, H. van der
}{loading include} \xmlloadbuffer{includes}{load-2} \stopxmlsetups \enabletrackers[lxml.loading] \setuppapersize[S5][S5] \starttext \hairline \xmlprocessbuffer{myroot}{load-1}{} \hairline \stoptext ___ If your

[NTG-context] Getting a Header Line to Start from Left Margin

2012-03-09 Thread Emmanuel Asante
Hi All, I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter heading text in the margin. How can I get the line to also start

Re: [NTG-context] Getting a Header Line to Start from Left Margin

2012-03-09 Thread Marco
On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote: I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter

Re: [NTG-context] Getting a Header Line to Start from Left Margin

2012-03-09 Thread Emmanuel Asante
On Fri, Mar 9, 2012 at 10:32 AM, Marco net...@lavabit.com wrote: On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote: I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter

Re: [NTG-context] Getting a Header Line to Start from Left Margin

2012-03-09 Thread Willi Egger
On 9 Mar 2012, at 18:32, Marco wrote: On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote: I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin

Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-28 Thread Hans Hagen
. Another odd thing -- if I use \setupheader[options...] instead of \setupheader[text][options...], I get an extra horizontal rule (\hairline?) on the left side of the page... - I fixed the font - I added an extra hsize setting to get the rule right (btw, hairline is not the best choice here

  1   2   3   >